\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,bbding,pifont,colortbl,amssymb}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% 只需要这个就可以
\usepackage[thicklines]{cancel}

% 可以设置线条颜色，默认是黑色
\usepackage{xcolor}
\renewcommand{\CancelColor}{\color{red}} 
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc,backgrounds}
\arrayrulecolor{red}
% 设置浅蓝色
\definecolor{lightblue1}{RGB}{175, 175, 237}
\definecolor{lightgreen1}{RGB}{226, 246, 186}
\definecolor{lightpink}{RGB}{255, 202, 203}
% 设定删除线颜色
\renewcommand{\CancelColor}{\color{red}}

\begin{document}
	\begin{tikzpicture}[>=latex,every node/.style={anchor=south west,,inner sep=0}]
		
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		\node at (5em,0) (SYNBL){
			\begin{tabular}[draw=red]{|l|} \hline
				%  行1
				\color{blue}简单优先分析器的基本组成:  \\ 
				% 行2
				\\    
				% 行3
				\color{blue} \SparkleBold 分析中只\color{red}查看当前符号\color{blue}就可确认\color{red}句柄\color{blue}; \\
				% 行4
				\color{blue} \SparkleBold 优先分析法要求文法应是\color{red}简单优先文法\color{blue}。\\
				\hline
			\end{tabular}
		};
		% 行2
		
		\node(word1) at ([xshift=0.6em,yshift=0.4em]SYNBL.west) {\color{blue}优先矩阵分析表 $\oplus$ 优先分析控制器}; 
		\begin{pgfonlayer}{background}
			\node [draw=black,fill=lightpink ,rectangle, inner sep=0.2em,line width=0.0025em][fit=(word1)](box1){};
		\end{pgfonlayer}
		
	\end{tikzpicture}
\end{document}